		{foreach from=$photos item=row key=val}	
			<div class="span8">
				<h1> {$row.p_caption}</h1>
			</div>
			<div class="span2"> 
			</div>
			<div class="span10">
			<h3> 
			<a href="javascript:show_comment_panel({$row.p_id},'photo','{$row.p_caption}','{$row.u_name}');">Comment</a>
			<a href="javascript:show_recommend_panel({$row.p_id},'photo','{$row.p_caption}','{$row.u_name}')">Recommend</a></h3>
			</div>
			<div class="span8"><a href="#">{$row.u_username}</a> posted a note from <a href="#">{$row.l_name}</a></div>
			
			<div class ="span2"></div>
			
			<div class = "span8">
				<div class="thumbnail">
					<img src="/uploads/{$row.p_id}.jpg" alt="">
				</div>
			</div>
		{/foreach}